var express = require('express');
require('express-async-errors');
var router = express.Router();
var tool = require('../../libs/tools');
var config = require(tool.rootPath + 'config');


router.get('/', function(req, res, next) {
    res.redirect('test/index');
});

router.get('/index', function (req, res, next) {

    //res.send(tool.msg(1,'','http://www.baidu.com/'));
    //res.send(tool.msg(0));

    res.end('home/test/index');


});

module.exports = router;